<!DOCTYPE html>
<html lang="en">
<HEAD>
  <TITLE> ZTREE DEMO </TITLE>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8" charset="UTF-8">
  <link rel="stylesheet" th:href="@{/css/demo.css}" type="text/css">
  <link rel="stylesheet" th:href="@{/js/jquery/css/zTreeStyle/zTreeStyle.css}" type="text/css">
  <script type="text/javascript"  th:src="@{/js/jquery/jquery-1.4.4.min.js}"></script>
<!--  th:src="@{/libs/jquery/jquery-3.5.1.js}"-->
  <script type="text/javascript" th:src="@{/js/jquery/jquery.ztree.core.js}"></script>
  <SCRIPT LANGUAGE="JavaScript">
    var zTreeObj;
    // zTree 的参数配置，深入使用请参考 API 文档（setting 配置详解）
    var setting = {};
    // zTree 的数据属性，深入使用请参考 API 文档（zTreeNode 节点数据详解）
    var zNodes = [
      {name:"test1", open:true, children:[
          {name:"test1_1"}, {name:"test1_2"}]},
      {name:"test2", open:true, children:[
          {name:"test2_1"}, {name:"test2_2"}]}
    ];
    $(document).ready(function(){
      zTreeObj = $.fn.zTree.init($("#treeDemo"), setting, zNodes);
    });
  </SCRIPT>
</HEAD>
<BODY>
<p>sdfsdfd</p>
<div>
  <ul id="treeDemo" class="ztree"></ul>
</div>
</BODY>
</html>
